<template>
  <div>
    <el-card>
      <el-row class="payment_info title1" justify="space-between">国内航班/Domestic Air</el-row>
      <el-row class="title1 title_name">
        <i class="el-icon-user"></i>刘博
      </el-row>
      <el-row type="flex" class="payment_info" justify="space-between">
        <el-col :span="2">
          <div class="icon_num">1</div>
        </el-col>
        <el-col :span="4">08-09</el-col>
        <el-col :span="6">上海/ShangHai-北京/BeiJing</el-col>
        <el-col :span="4">MU5101</el-col>
        <el-col class="fare" :span="4">¥860.00</el-col>
      </el-row>
      <el-row type="flex" class="payment_info" justify="space-between">
        <el-col :span="2">
          <div class="icon_num">2</div>
        </el-col>
        <el-col :span="4">08-09</el-col>
        <el-col :span="6">上海/ShangHai-北京/BeiJing</el-col>
        <el-col :span="4">MU5101</el-col>
        <el-col class="fare" :span="4">¥860.00</el-col>
      </el-row>
      <el-row type="flex" class="payment_info" justify="space-between">
        <el-col :span="4" class="title1">总计/Total</el-col>
        <el-col class="fare allfare" :span="4">¥19,472.00</el-col>
      </el-row>
      <el-row class="payment_info title1" justify="space-between">请选择扣款渠道/Pay With</el-row>
      <el-row class="payment_info">
        <el-radio v-model="radio" label="1">支付宝</el-radio>
        <el-radio v-model="radio" label="2">微信</el-radio>
        <el-radio v-model="radio" label="3">信用卡</el-radio>
      </el-row>
      <el-row class="payment_info">
        <div v-if="radio == '1'">
          <img class="pay_img" :src="require('../../assets/img/pay_01.jpg')" alt />
        </div>
        <div v-else-if="radio == '2'">
          <img class="pay_img" :src="require('../../assets/img/pay_02.jpg')" alt />
        </div>
        <div v-else-if="radio == '3'">信用卡</div>
      </el-row>
      <div class="payment_info allpay">
        <el-button class="pay_btn" type="primary">¥19,248.00 去支付/Pay</el-button>
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  data() {
    return {
      radio: "1",
    };
  },
};
</script>
<style lang="less" scoped>
.title1 {
  font-size: 20px;
  font-weight: 500;
  color: rgba(7, 59, 131, 1);
}
.title_name {
  color: #212121;
  font-weight: 600;
  margin-bottom: 10px;
  i {
    margin-right: 15px;
  }
}
.payment_info {
  margin: 15px 0;
  .icon_num {
    width: 24px;
    height: 24px;
    background: rgba(160, 206, 240, 1);
    border-radius: 100px 100px 100px 0px;
    opacity: 0.49;
    line-height: 24px;
    text-align: center;
  }
  .fare {
    text-align: right;
    color: #ff7600;
    font-weight: 500;
    font-size: 20px;
    margin-right: 50px;
  }
  .allfare {
    color: #ff7600;
    font-weight: 600;
    font-size: 22px;
  }
  /deep/.el-radio__inner {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }
  /deep/.el-radio__label {
    font-size: 16px;
  }
  .pay_btn {
    font-size: 20px;
    margin: 0 auto;
  }
  .pay_img {
    display: block;
    width: 500px;
    height: 350px;
    margin: 0 auto;
  }
}
.allpay {
  display: flex;
  justify-content: center;
}
</style>